package com.kssoft.ebd.spider.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 开始呼叫参数配置
 * @author liwu
 * @since 2025/6/24
 */
@Data
@Configuration
public class StartCallParamConfig {
    /**
     * http://smartexpress/ed/speaker/startCall?areaList=5105030101&issueTerminals=&broadCastType=0&mediaType=0&schemeType=-1&issueVolume=80&recordTimeCode=1749552408580&eventLevel=0&rdsSendMode=0
     */
    @Value("${spider.broadcast.startCall.areaList}")
    private String areaList;
    @Value("${spider.broadcast.startCall.issueTerminals:}")
    private String issueTerminals;
    @Value("${spider.broadcast.startCall.broadCastType:0}")
    private String broadCastType;
    /**
     * 媒体类型 0:音频 1:视频
     * 广播级别 0:日常 1:紧急
     */
    @Value("${spider.broadcast.startCall.mediaType:0}")
    private String mediaType;
    /**
     * 方案类型 null:全方案 0:TS 1:IP 2:RDS  4:IP_KT 5:CDR
     */
    @Value("${spider.broadcast.startCall.schemeType:-1}")
    private String schemeType;
    @Value("${spider.broadcast.startCall.issueVolume:80}")
    private String issueVolume;
    @Value("${spider.broadcast.startCall.recordTimeCode:}")
    private String recordTimeCode;  //new Date().getTime()
    @Value("${spider.broadcast.startCall.eventLevel:0}")
    private String eventLevel;
    /**
     * 是否发送RDS 0:发送 1:不发送
     */
    @Value("${spider.broadcast.startCall.rdsSendMode:0}")
    private String rdsSendMode;
}
